<!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>vue1</title>
        <script src="js/vue.js"></script>
    </head>
    <body>
        <div id="app">
           <ul>
               <!-- <li v-for="(value, index) in list">{{index}}---{{value}}</li> -->
               <!-- <li v-for="(value, index) in 'abcdefg'">{{index}}---{{value}}</li> -->
               <li v-for="(value, key) in obj">{{key}}---{{value}}</li>
           </ul>
        </div>
        <script>
            let vue = new Vue({
        // 告诉vue的实例对象，将来需要控制界面上的那个区域
                el:'#app',
                data:{
                    list:["1111","2222","3333","4444"],
                    obj: {
                        name:"aa",
                        age:33,
                        gender: "man",
                        class: "哈哈哈"
                    }
                }
            });
        </script>
    </body>
</html>